package com.example.project.service;

import com.example.project.entity.Leaves;

import java.util.List;

public interface ILeavesService {
    //实现请假添加方法
    int add(Leaves leaves);

    //实现查询所有请假数据的方法
    List<Leaves> getAllLeaves(Leaves leaves);

    //删除请假数据
    int deleteLeaves(Leaves leaves);

    //实现请假信息的更新
    int updateLeaves(Leaves leaves);

    //实现单挑查询请假数据方法
    Leaves getLeaves(Leaves leaves);
}
